/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.config.model.v20200907;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;

/**
 * @author auto create
 * @version 
 */
public class PutEvaluationsRequest extends RpcAcsRequest<PutEvaluationsResponse> {
	   

	private String evaluations;

	private Boolean deleteMode;

	private String resultToken;
	public PutEvaluationsRequest() {
		super("Config", "2020-09-07", "PutEvaluations", "config");
		setProtocol(ProtocolType.HTTPS);
		setMethod(MethodType.POST);
		try {
			com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
			com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
		} catch (Exception e) {}
	}

	public String getEvaluations() {
		return this.evaluations;
	}

	public void setEvaluations(String evaluations) {
		this.evaluations = evaluations;
		if(evaluations != null){
			putBodyParameter("Evaluations", evaluations);
		}
	}

	public Boolean getDeleteMode() {
		return this.deleteMode;
	}

	public void setDeleteMode(Boolean deleteMode) {
		this.deleteMode = deleteMode;
		if(deleteMode != null){
			putBodyParameter("DeleteMode", deleteMode.toString());
		}
	}

	public String getResultToken() {
		return this.resultToken;
	}

	public void setResultToken(String resultToken) {
		this.resultToken = resultToken;
		if(resultToken != null){
			putBodyParameter("ResultToken", resultToken);
		}
	}

	@Override
	public Class<PutEvaluationsResponse> getResponseClass() {
		return PutEvaluationsResponse.class;
	}

}
